package com.bdmc.base.domain.vo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.bdmc.common.annotation.ExcelDictFormat;
import com.bdmc.common.convert.ExcelDictConvert;
import lombok.Data;


/**
 * 设施管理视图对象 base_facility
 *
 * @author bdmc
 * @date 2022-03-03
 */
@Data
@ExcelIgnoreUnannotated
public class BaseFacilityVo {

	private static final long serialVersionUID = 1L;

    /**
     * 设施id
     */
	@ExcelProperty(value = "设施id")
	private Long facilityId;

    /**
     * 部门id
     */
	@ExcelProperty(value = "部门id")
	private Long deptId;

    /**
     * 设备id
     */
	@ExcelProperty(value = "设备id")
	private Long deviceId;

    /**
     * 设施名称
     */
	@ExcelProperty(value = "设施名称")
	private String facilityName;

    /**
     * 设施编号
     */
	@ExcelProperty(value = "设施编号")
	private String facilityNum;

    /**
     * 设施类型
     */
    @ExcelProperty(value = "设施类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "base_facility_type")
	private String facilityType;

    /**
     * 设施规格
     */
	@ExcelProperty(value = "设施规格")
	private String facilitySpecifications;

    /**
     * 传感器告警的距离(cm)
     */
	@ExcelProperty(value = "传感器告警的距离(cm)")
	private Integer alarmDistance;

    /**
     * 安装日期
     */
	@ExcelProperty(value = "安装日期")
	private Date installDate;

    /**
     * 维护单位
     */
	@ExcelProperty(value = "维护单位")
	private String maintainBy;

    /**
     * 纬度
     */
	@ExcelProperty(value = "纬度")
	private String lat;

    /**
     * 经度
     */
	@ExcelProperty(value = "经度")
	private String lng;

    /**
     * 照片
     */
	@ExcelProperty(value = "照片")
	private String photoPath;

    /**
     * 地址
     */
	@ExcelProperty(value = "地址")
	private String address;

	@ExcelProperty(value = "部门名称")
	private String deptName;

	@ExcelProperty(value = "满溢设备imei")
	private String imei;
}
